﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="PlugNT.Cms.Web.Admin.Pre_Global.Pre_Config" Codebehind="Config.aspx.cs" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>网站基本信息设置</title>
<link href="../css/control.css" rel="stylesheet" type="text/css" media="all" />
</head>
<body>

<div class="frmstatic" style="display:block">
    <span class="frmbar" style="margin:0 12px;"></span><span class="frmbar" style="margin:0 11px;"></span>
    <div class="controls">
        <table cellspacing="0" cellpadding="0" border="0" width="100%">
          <tr>
            <td align"left">
                <table>
                    <tr>
                        <td><img src="../images/maintenance_32x32.gif" width="16" height="16" /></td>
                        <td><label>设置 > 网站配置</label></td>
                    </tr>
                </table>
            </td>
            <td align="right">
                <span>操作 > </span>
                <a href='javascript:window.history.back();'>返回</a>   
            </td>
          </tr>
        </table>
    </div>
    <span class="frmbar" style="margin:0 11px;"></span><span class="frmbar" style="margin:0 12px;"></span>
</div>
    
    
<div class="frmstatic" style="display:block">
 <table width="100%" border="0" cellpadding="10" cellspacing="0">
   <tr valign="top">
    <td valign="top">


    <form id="form1" runat="server">

     <table width="100%"  border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#d2e6fa">
       <tr valign="top">
        <td valign="top">
            
          <table width="100%"  border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#ecf5ff">
            

            <tr>
               <td colspan="2">
                <table cellpadding="5" cellspacing="1" bgcolor="#ecf5ff">
                    <tr>
                        <td width="137" style=" background-color:#d2e6fa; text-align:center;">
                         <span>基本设置</span>
                        </td>
                        <td width="137" style=" border:1px solid #d2e6fa; text-align:center;">
                         <a href="./SetPayment.aspx">支付配置</a>                        
                        </td>
                        <td width="137" style=" border:1px solid #d2e6fa; text-align:center;">
                         <a href="./SetUsers.aspx">用户接口</a>                        
                        </td>
                        <td width="137" style=" border:1px solid #d2e6fa; text-align:center;">
                         <a href="./SetCommentfilter.aspx">评论过滤</a>                        
                        </td>
                        <td></td>
                    </tr>
                </table>
               </td>
            </tr>
            <tr>
              <td width="145" align="right" nowrap bgcolor="#F4FBFF">网站名称:</td>
              <td width="1040" bgcolor="#F4FBFF"><asp:TextBox CssClass="input" ID="TextBox_web_name" runat="server" Width="200"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                      ErrorMessage="网站名称不能为空" ControlToValidate="TextBox_web_name"></asp:RequiredFieldValidator>                                  </td>
            </tr>
            <tr>
              <td width="145" align="right" nowrap bgcolor="#F4FBFF">网站地址:</td>
              <td bgcolor="#F4FBFF"><asp:TextBox CssClass="input" ID="TextBox_web_url" runat="server" Width="300"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                      ErrorMessage="网站地址不能为空" ControlToValidate="TextBox_web_url"></asp:RequiredFieldValidator>                                  </td>
            </tr>
            
            <tr>
              <td align="right" nowrap bgcolor="#F4FBFF">文件上传文件夹:</td>
              <td bgcolor="#F4FBFF"><asp:TextBox ID="TextBox_upload_path" runat="server" CssClass="input" Width="300"></asp:TextBox>
                绝对路径
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                      ErrorMessage="文件上传文件夹不能为空" ControlToValidate="TextBox_upload_path"></asp:RequiredFieldValidator></td>
            </tr>
            
            <tr>
              <td align="right" nowrap bgcolor="#F4FBFF">生成首页路径:</td>
              <td bgcolor="#F4FBFF"><asp:TextBox ID="TextBox_index_path" runat="server" CssClass="input" Width="300"></asp:TextBox>
                绝对路径
                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                      ErrorMessage="生成首页路径不能为空" ControlToValidate="TextBox_index_path"></asp:RequiredFieldValidator></td>
            </tr> 
               
            <tr>
              <td align="right" nowrap bgcolor="#F4FBFF">Logo图片路径:</td>
              <td bgcolor="#F4FBFF"><asp:TextBox ID="TextBox_logo_path" runat="server" CssClass="input" Width="300"></asp:TextBox>
                绝对路径
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                      ErrorMessage="首页模板路径不能为空" ControlToValidate="TextBox_logo_path"></asp:RequiredFieldValidator></td>
            </tr>              
            
            <tr>
              <td align="right" nowrap bgcolor="#F4FBFF">水印图片路径:</td>
              <td bgcolor="#F4FBFF"><asp:TextBox ID="TextBox_water_path" runat="server" CssClass="input" Width="300"></asp:TextBox>
                绝对路径
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                      ErrorMessage="首页模板路径不能为空" ControlToValidate="TextBox_water_path"></asp:RequiredFieldValidator></td>
            </tr>  
            
            
            <tr>
              <td align="right" nowrap bgcolor="#F4FBFF">后台接口密码:</td>
              <td bgcolor="#F4FBFF"><asp:TextBox ID="TextBox_admininterfacekey" runat="server" CssClass="input" Width="300"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" 
                      ErrorMessage="后台接口密码不能为空" ControlToValidate="TextBox_admininterfacekey"></asp:RequiredFieldValidator></td>
            </tr>                 
            
            <tr>
              <td align="right" nowrap bgcolor="#F4FBFF">评论审核:</td>
              <td bgcolor="#F4FBFF">
                <asp:CheckBox ID="chbComment" runat="server" Text="需要审核" />
              </td>
            </tr>        
                   
            <tr>
              <td align="right" nowrap bgcolor="#F4FBFF">限定最大内存:</td>
              <td bgcolor="#F4FBFF"><asp:TextBox ID="TextBox_memorysize" runat="server" CssClass="input" Width="150"></asp:TextBox>
                数字
                <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server"  ErrorMessage="限定最大内存不能为空" ControlToValidate="TextBox_water_path"></asp:RequiredFieldValidator></td>
            </tr>  
            
            <tr>
              <td bgcolor="#F4FBFF">&nbsp;</td>
              <td bgcolor="#F4FBFF"><asp:Button BackColor="#F4FBFF" CssClass="bt" ID="siteUpdate" runat="server" Text="网站参数设置" OnClick="siteUpdate_Click" /></td>
            </tr>
            
            <tr><td colspan="2">&nbsp;</td></tr>
            
        
            <tr>
              <td width="145" align="right" nowrap bgcolor="#F4FBFF">更新状态:</td>
              <td width="1040" bgcolor="#F4FBFF"><asp:CheckBox ID="chbIsUpdate" runat="server" Text="是否自动更新" />
              </td>
            </tr>
            <tr>
              <td width="145" align="right" nowrap bgcolor="#F4FBFF">更新时间:</td>
              <td width="1040" bgcolor="#F4FBFF">
                <asp:DropDownList ID="dllDate" runat="server"></asp:DropDownList>
                <asp:DropDownList ID="dllHour" runat="server"></asp:DropDownList>
                <asp:DropDownList ID="dllMinute" runat="server"></asp:DropDownList>
                <asp:DropDownList ID="dllSecond" runat="server"></asp:DropDownList>
              </td>
            </tr>
            <tr>
              <td width="145" align="right" nowrap bgcolor="#F4FBFF">更新次数:</td>
              <td width="1040" bgcolor="#F4FBFF">
                <asp:Literal ID="litUpdateCount" runat="server"></asp:Literal>(更新内容为所有聚合页和列表页)
              </td>
            </tr>
            <tr>
              <td bgcolor="#F4FBFF">&nbsp;</td>
              <td bgcolor="#F4FBFF">
                <asp:Button BackColor="#F4FBFF" CssClass="bt" ID="Button1" runat="server" 
                      Text="自动更新设置" onclick="autoUpdate_Click"  />
              </td>
            </tr>
        
          </table>
          
        </td>
      </tr>
     </table>
         
    </form>


    </td>
  </tr>
 </table>
</div>
</body>
</html>
